Type.registerNamespace('ModWatch');

ModWatch.ModWatcherBehaviorBase = function(element) {
	ModWatch.ModWatcherBehaviorBase.initializeBase(this, [element]);

    this._modGroup = '';
}

ModWatch.ModWatcherBehaviorBase.prototype = {

	get_modGroup : function()
	{
		return this._modGroup;
	},
	
	set_modGroup : function(modGroup)
	{
		if (!modGroup || modGroup == null)
			this._modGroup = '';
		else
			this._modGroup = modGroup;
	},

	initialize : function() {
		ModWatch.ModWatcherBehaviorBase.callBaseMethod(this, 'initialize');

		ModWatch.ModManagerInstance.registerModWatcher(this);
	},

	dispose : function() {
		ModWatch.ModManagerInstance.removeModWatcher(this);

		ModWatch.ModWatcherBehaviorBase.callBaseMethod(this, 'dispose');
	},

	hasChanged : function() {}

}

ModWatch.ModWatcherBehaviorBase.registerClass('ModWatch.ModWatcherBehaviorBase', Sys.UI.Behavior, ModWatch.IModWatcher);

if (typeof(Sys) !== 'undefined') Sys.Application.notifyScriptLoaded();
